﻿capital = 304#首都
if = {
	limit = {
		has_dlc = "No Step Back"
	}
	set_technology = {
		MVLV_research_basic_tsf_framework = 1
		MVLV_research_tsf_1_light_framework = 1
		MVLV_research_armor_light = 1
	}
	create_equipment_variant = {
		name = "F-5（中米）"
		type = MVLV_TSF_chassis_1_light
		parent_version = 0
		allow_without_tech = yes		#For tooltip purposes, doesn't affect anything really
		modules = {
			MVLV_TSF_armor_slot = MVLV_TSF_armor_light
			MVLV_TSF_OS_slot = MVLV_TSF_basic_OS
			MVLV_TSF_engine_slot = MVLV_TSF_basic_engine
			MVLV_TSF_headUnit_slot = MVLV_TSF_basic_head
			MVLV_TSF_right_hand_slot = MVLV_TSF_basic_assault_cannon

		}
		icon = "GFX_F-5"
	}
}
if = {
	limit = {
		NOT = {
			has_dlc = "No Step Back"
		}
	}
	set_technology = {
		UNI_basic_concept_research = 1
	}
}

1999.1.1 = {
	oob = "CEA_1999"
	load_oob = "MVLV_generic_templates"
	load_oob = "MVLV_TSF"
	add_to_war = {
		targeted_alliance = UNI
		enemy = BET
	}	#戦争状態を設定
	set_technology = {
		#初期研究を定義
		infantry_weapons = 1
		infantry_weapons1 = 1
		Mvlv_tech_support_pack = 1
		
		gw_artillery = 1
		interwar_artillery = 1
		artillery1 = 1
		artillery2 = 1
		rocket_artillery = 1
		gwtank = 1
		basic_light_tank = 1
		improved_light_tank = 1
		basic_medium_tank = 1
		AA_tankI = 1
		AA_tankII = 1
		early_destroyer = 1

		fleet_in_being = 1
		fighter = 1
		#CAS2 = 1
		electronic_mechanical_engineering = 1
		radio = 1
		radio_detection = 1
		#industry
		basic_machine_tools = 1
		improved_machine_tools = 1
		improved_equipment_conversion = 1


		concentrated_industry = 1
		concentrated_industry2 = 1
		concentrated_industry3 = 1
		
		construction1 = 1
		construction2 = 1
		construction3 = 1
		construction4 = 1
		construction5 = 1
		fuel_silos = 1
		fuel_refining = 1
		
		interwar_antiair = 1
		MVLV_shell_tech = 1
		###陸军ドクトリン###
		###TSF
		# UNI_basic_concept_research = 1
		###军需・民需建築許可###
		MVLV_EnableBuilding_arms_factory = 1
		MVLV_EnableBuilding_industrial_complex = 1
		MVLV_EnableBuilding_ammunition_plant = 1
		MVLV_EnableBuilding_ammunition_silo = 1
		###戦術###
		human_combat_tactics = 1
	}

	add_ideas = {
		#初期国家精神を定義
		mvlv_nuclear_winter
		mvlv_saast
		SOA_happy
		MVLV_UNF
		CEA_refugees
		CEA_food
	}
	if = {
		limit = {
			has_dlc = "Man the Guns"
		}
		set_technology = {
			muvluv_mtg_naval_pack = 1
			muvluv_mtg_mtg_transport_pack = 1
		}
	}
	if = {
		limit = {
			not = {
				has_dlc = "Man the Guns"
			}
		}
		set_technology = {
			early_submarine = 1
			basic_submarine = 1
			improved_submarine = 1
			advanced_submarine = 1
			early_destroyer = 1
			basic_destroyer = 1
			improved_destroyer = 1
			advanced_destroyer = 1
			early_light_cruiser = 1
			basic_light_cruiser = 1
			improved_light_cruiser = 1
			advanced_light_cruiser = 1
			early_heavy_cruiser = 1
			basic_heavy_cruiser = 1
			improved_heavy_cruiser = 1
			advanced_heavy_cruiser = 1
			early_battleship = 1
			basic_battleship = 1
			improved_battleship = 1
			advanced_battleship = 1
			early_battlecruiser = 1
			basic_battlecruiser = 1
			heavy_battleship = 1
			heavy_battleship2 = 1
			early_carrier = 1
			basic_carrier = 1
			improved_carrier = 1
			advanced_carrier = 1
			transport = 1
			landing_craft = 1
			tank_landing_craft = 1
		}
	}
	set_convoys = 1000	
	starting_train_buffer = 50
}

create_equipment_variant = {
	name = "Yamato Class"
	type = ship_hull_super_heavy_1
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_super_heavy_battery_1
		fixed_ship_anti_air_slot = ship_anti_air_2
		fixed_ship_fire_control_system_slot = ship_fire_control_system_1
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = heavy_ship_engine_2
		fixed_ship_secondaries_slot = ship_secondaries_2
		fixed_ship_armor_slot = ship_armor_shbb
		front_1_custom_slot = ship_anti_air_1
		front_2_custom_slot = empty
		mid_1_custom_slot = empty
		mid_2_custom_slot = ship_secondaries_2
		mid_3_custom_slot = ship_secondaries_2
		rear_1_custom_slot = ship_super_heavy_battery_1
		rear_2_custom_slot = ship_airplane_launcher_1
	}
}

# if = {
	# limit = {
		# has_dlc = "Man the Guns"
	# }
# }

set_stability = 0.5#初期安定度を定義
set_war_support = 0.5#初期戦争協力度を定義
set_research_slots = 3 #初期研究枠を定義
add_political_power = 0#初期政治力を定義

add_offsite_building = { type = arms_factory level = 12 }
add_offsite_building = { type = industrial_complex level = 50 }
add_offsite_building = { type = dockyard level = 10 }
add_offsite_building = { type = ammunition_plant level = 2 }
add_offsite_building = { type = ammunition_silo level = 3 }

set_politics = {
	#初期政体を定義
	ruling_party = democratic
	last_election = "1932.6.5"
	election_frequency = 48
	elections_allowed = yes
}

set_popularities = {
	#初期支持率を定義
	democratic = 100
}


recruit_character = CEA_Gorter			#タチアナ・デ・ホルテル
recruit_character = CEA_atena			#イオニアス・アテナ
recruit_character = CEA_Lux				#ビクトリアーノ・ラクスライン
recruit_character = CEA_Emmanuel		#エマヌエル・ガウマン
recruit_character = CEA_Mariano			#マリアノ・デ・アルミホ

###各政体における指導者を定義###
create_country_leader = {
	name = "カルロス サリナス"
	desc = "POLITICS_HARMODIO_ARIAS_MADRID_DESC"
	picture = "Carlos.dds"
	expire = "2040.1.1"
	ideology = liberalism
	traits = {
		#
	}
}

###初期将军及び元帥を定義###


